{extends file="backend/index.tpl"} 

{block name="page-content"} 

<form id="validate" action="{$base_url}admin/image/addImage" method="post" enctype="multipart/form-data">
<div class="row-fluid">
	<div class="span6">
		<div class="block">
			<div class="head">
				<h2>Add Image</h2>
				<ul class="buttons">
					<li><a href="#" onClick="source('form_validation'); return false;">
							<div class="icon">
								<span class="ico-info"></span>
							</div> </a>
					</li>
				</ul>
			</div>
			<div class="data-fluid">
				<div class="row-form">
                    <div class="span2">File Name</div>
                    <div class="span10">
                        <div class="input-append file" style="width: 300px;">
                            <input type="file" name="filename" style="width: 298px;"/>
                            <input type="text"/>
                            <span class="btn">Browse</span>
                        </div>                             
                    </div>
                </div>
				<div class="row-form">
					<div class="span2">Title</div>
					<div class="span10">
						<input type="text" id="title" name="title" />
					</div>
				</div>	
			</div>
		</div>
	</div>
	<div class="span6">
		<div class="block">
			<div class="head">
				<h2></h2>
				<ul class="buttons">
					<li><a href="#" onClick="source('form_validation'); return false;">
							<div class="icon">
								<span class="ico-info"></span>
							</div> </a>
					</li>
				</ul>
			</div>
			<div class="data-fluid">
			<!-- 
				<div class="row-form">
					<div class="span2">Width</div>
					<div class="span10">
						<input name="width" type="text" />
					</div>
				</div>
				<div class="row-form">
					<div class="span2">Height</div>
					<div class="span10">
						<input name="height" type="text" />
					</div>
				</div>
			 -->
				<div class="row-form">
					<div class="span2">Type</div>
					<div class="span10">
						<select name="type" class="select" style="width: 100%;">
							<option value="0">Nhớ Chọn Nha !!!</option>
							<option value="O">O</option>
							<option value="SS">SS</option>
							<option value="S">S</option>
							<option value="M">M</option>
							<option value="L">L</option>
							<option value="LL">LL</option>
						</select>
					</div>
				</div>
				<div class="row-form">
					<div class="span2">Alt</div>
					<div class="span10">
						<input type="text" id="alt" name="alt" />
					</div>
				</div>	
				<div class="toolbar bottom tar">
					<div class="btn-group">
						<button class="btn btn-info" type="button"
							onClick="$('#validate').validationEngine('hide');">Hide prompts</button>
						<button class="btn" type="submit" name="submit" id="addImage">Add
								Image</button>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
</form>

{/block}

